/**
 * Sample React Native App
 * https://github.com/facebook/react-native
 * @flow
 */

import React, { Component } from 'react';
import {
  Platform,
  StyleSheet,
  Text,
  View
} from 'react-native';
import { moduleName } from './src/constants'
import App from './src/containers/App'
console.disableYellowBox = true

export default class RootComponent extends Component {
  render() {
    const {componentName, args} = this.props
    moduleName.MODULE_NAME = componentName
    moduleName.ARGS = args
    return (
      <App/>
    );
  }
}
